// Dictionary.java

public class Dictionary2 extends Book2
{
   private int definitions = 50000;
   
   public Dictionary2()
   {
      super();
      definitions = 10000;
   }
   
   public void Dictionary2(int pages, int definitions)
   {
      super(pages);
      this.defintions = definitions;
   }
   
   
   
   public void definitionsMessage()
   {
      System.out.println("Number of pages: " + pages);
      System.out.println("Number of definitions per page: " + this.definitions/pages);
   }
}